import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Base from './util/base'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './directive'  //引入全局指令
import Http from "@/util/http"; //引入axios的封装
import Themes from "@/util/themes/themes";
import EChart from "@/util/echart";
import config from "@/util/config";
import '@/icons'
import './element'
import '@/assets/fonts/font.css'

export const bus = new Vue();
Vue.prototype.$bus = bus;
Vue.use(ElementUI);
Vue.use(Themes);
Vue.use(Base)
Vue.use(Http)
Vue.use(EChart)
Vue.use(config)
Vue.config.productionTip = false

//引入自定义element样式
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
